package com.itheima.home_work.net_shop;

import java.util.Arrays;

public class ProductsSortByInventory implements ProductSort {
    @Override
    public void sort(Product[] products) {
        Arrays.sort(products, new ProductSortMethods()::compareProductsByInventory);
    }
}
